﻿using RpcHelper.Validate;

namespace Wedonek.RpcStore.Gateway.Model
{
        /// <summary>
        /// 管理员登陆
        /// </summary>
        public class AdminLogin
        {
                /// <summary>
                /// 登陆名
                /// </summary>
                [NullValidate("rpc.login.name.null")]
                [LenValidate("rpc.login.name.len", 5, 30)]
                public string LoginName
                {
                        get;
                        set;
                }
                /// <summary>
                /// 登陆密码
                /// </summary>
                [NullValidate("rpc.login.pwd.null")]
                [LenValidate("rpc.login.pwd.len", 6, 100)]
                public string Pwd
                {
                        get;
                        set;
                }
        }
}
